package com.qingfeng.testandroid12sdkdemo.activity


import android.content.Context
import com.qingfeng.testandroid12sdkdemo.utils.Async
import com.qingfeng.testandroid12sdkdemo.utils.Await
import com.qingfeng.testandroid12sdkdemo.utils.Process
import com.qingfeng.testandroid12sdkdemo.utils.Startup
import java.util.logging.Logger


@Async
@Await
@Startup(strategy = Process.MAIN)
class SampleGenerate1Task : TaskRunner {

    override fun run(context: Context) {
        TODO("Not yet implemented")
    }

}


interface TaskRunner {
   fun run(context: Context)

}

interface LoggingContext {
    val log: Logger
}

annotation class context()

//context(LoggingContext)
//fun startBusinessOperation(){
//
//}